﻿@model HitMapsNew.ApproveUsersModel

@{
    ViewBag.Title = "View1";
    Layout = "~/Views/EditData/_EditLayout.cshtml";
}

<h2>אישור יוזרים</h2>

@using (Html.BeginForm())
{
    <table>
        <tr>
            <td>יוזר</td>
            <td></td>
            <td>התעלם</td>
            <td>אשר</td>
            <td>מחק</td>
        </tr>

        @for (int i = 0; i < Model.UnAprrovedUsers.Count; i++)  
        {
            <tr>
                <td>@Model.UnAprrovedUsers[i].UserName</td>
                <td><input name='[@(i)].ID' type="hidden" value="@(Model.UnAprrovedUsers[i].ID)" /></td>
                <td><input name='[@(i)].status' type="radio" value="0" /></td>
                <td><input name='[@(i)].status' type="radio" value="1" /></td>
                <td><input name='[@(i)].status' type="radio" value="2" /></td>
            </tr>
        }
    </table>


    <input type="submit" value="בצע" />
}